<script setup lang='ts'>
  import { onMounted, reactive } from 'vue';
  import { equipApi } from '@/api/controller';
  import { Toastloading } from '@/utils/public';
  const action = reactive({
    list:[] as any[],
  })
  const getList = async()=> {
    const loading = Toastloading()
    const res = await equipApi.equipauction_statistics()
    loading.close()
    const { data=[] } = res || {}
    action.list = data
  }
  onMounted(()=>{
    getList()
  })
</script>

<template>
  <div class="xm-content">
    <el-table
      class="xm-TableCenter"
      :data="action.list"
      border>
      <el-table-column min-width="120" prop="allcount" label="上架数" />
      <el-table-column min-width="120" prop="onsale" label="出售中" />
      <el-table-column min-width="120" prop="unsale" label="下架数" />
      <el-table-column min-width="120" prop="buynums" label="购买数" />
      <el-table-column min-width="120" prop="completeJd" label="完成交易金豆数" />
      <el-table-column min-width="120" prop="rateJd" label="手续费金豆数" />
      <el-table-column min-width="120" prop="unionJd" label="公会分成数" />
      <el-table-column min-width="120" prop="sysJd" label="平台回收手续费" />

    </el-table>
  </div>
</template>